<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div  id="login" >
    <form >
        <div >
            <label for="username" th:text="#{login.username}">用户名</label>
            <input type="text"  name="username"   id="username" >
        </div>
        <div >
            <label for="password" th:text="#{login.password}">密码</label>
            <input type="password"  name="password"   id="password" >
        </div>

        <div>
            <button type="submit"   th:text="#{login.btn}">登录</button>
        </div>
        <div>
            <a href="register.html" th:text="#{login.register}">注册</a>
            <a th:href="@{/login(language='zh_CN')}">中文</a>
            <a th:href="@{/login(language='en_US')}">English</a>
        </div>
    </form>
</div>


</body>
</html>
